package com.hema.auction.widget.view;

import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.widget.LinearLayout;

import com.hema.auction.R;

import butterknife.ButterKnife;

/**
 * author by john
 */
public class RuleView extends LinearLayout {

    public RuleView(Context context) {
        super(context);
        init();
    }

    public RuleView(Context context, AttributeSet attrs) {
        super(context, attrs);
        init();
    }

    public RuleView(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        init();
    }

    private void init(){
        ButterKnife.bind(this,LayoutInflater.from(getContext()).inflate(R.layout.layout_rule, this));
    }

}
